package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员信息表对象 user
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class dUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long userId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String userPhone;

    /** openid */
    @Excel(name = "openid")
    private String userOpenid;
    @Excel(name = "token")
    private String token;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userInsdate;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }

    public void setUserOpenid(String userOpenid)
{
    this.userOpenid = userOpenid;
}

    public String getUserOpenid()
    {
        return userOpenid;
    }


    public void setUserToken(String token)
    {
        this.token = token;
    }

    public String  getToken()
    {
        return token;
    }

    public void setUserInsdate(Date userInsdate) 
    {
        this.userInsdate = userInsdate;
    }

    public Date getUserInsdate() 
    {
        return userInsdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userPhone", getUserPhone())
            .append("userOpenid", getUserOpenid())
            .append("userInsdate", getUserInsdate())
            .toString();
    }
}
